package com.wfm.entity;
 
import javax.persistence.Column;
import javax.persistence.Entity; 
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractEntity;

/**
 * 流程定义——节点
 */
@Entity 
@Table(  uniqueConstraints = { 
	    @UniqueConstraint(columnNames = {"WFID","NAME" }
	     ), @UniqueConstraint(columnNames = {"WFID","CODE" }
	    	     )}
)
public class TB_WFM_DEF_NODE  extends AbstractEntity  { 
	private static final long serialVersionUID = 1L;
	 
	@Column(length=32,nullable=false)
	private String WFID; // 流程ID TB_WFM_DEF_WORKFLOW.ID   
	@Column( length=32)
	private String CODE;//流程节点编码  
	@Column(length=50)
	private String NAME; // 流程节点名称
	@Column(length=1000)
	private String MEMO; // 流程节点备注 环节 信息 
	
	@Column(length=32)
	private String TYPE; // 节点类型 ：开始、结束、任务节点（处理任务、处理人） 、并行分、并行合 

	public String getWFID() {
		return WFID;
	}

	public void setWFID(String wFID) {
		WFID = wFID;
	}

	public String getCODE() {
		return CODE;
	}

	public void setCODE(String cODE) {
		CODE = cODE;
	}

	public String getNAME() {
		return NAME;
	}

	public void setNAME(String nAME) {
		NAME = nAME;
	}

	public String getMEMO() {
		return MEMO;
	}

	public void setMEMO(String mEMO) {
		MEMO = mEMO;
	}

	public String getTYPE() {
		return TYPE;
	}

	public void setTYPE(String tYPE) {
		TYPE = tYPE;
	}
	
 
	  
}
